<?php echo use_helper('jQuery') ?>

<?php slot('tree_content') ?>
    <?php include_partial('portal/gardener',array('portal' => $portal))?>
<?php end_slot() ?>

<?php slot('main') ?>
    <?php include_partial('portal/show',array('portal' => $portal))?>
<?php end_slot() ?>

<?php echo jq_javascript_tag(
        'clearTree();showLoaderTree();'.
        jq_update_element_function('tree_content', array(
            'content' => get_slot('tree_content'))).
        'createTree();activateTreeMenu();'.
        jq_update_element_function('main', array(
            'content' => get_slot('main'),
            )
        )
    )
?>